package com.production.CoursePlatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;

import java.time.LocalDateTime;

@Data
@TableName("comment")
public class Comment {

    @TableId(type = IdType.INPUT)
    @TableField("cmt_id")
    private int cmtID;

    @TableField("s_id")
    private int sID;

    @TableField("d_id")
    private String dID;

    @TableField("cmt_content")
    private String cmtContent;

    @TableField("cmt_time")
    private String cmtTime;

    @TableField("cmt_likes")
    private int cmtLikes;

    @TableField("cmt_replies")
    private int cmtReplies;

    public int getCmtID() {
        return cmtID;
    }

    public int getsID() {
        return sID;
    }

    public String getdID() {
        return dID;
    }

    public String getCmtContent() {
        return cmtContent;
    }

    public int getCmtLikes() {
        return cmtLikes;
    }

    public int getCmtReplies() {
        return cmtReplies;
    }

    public String getCmtTime() {
        return cmtTime;
    }

    public void setCmtTime(String cmtTime) {
        this.cmtTime = cmtTime;
    }

    public void setCmtID(int cmtID) {
        this.cmtID = cmtID;
    }

    public void setsID(int sID) {
        this.sID = sID;
    }

    public void setdID(String dID) {
        this.dID = dID;
    }

    public void setCmtContent(String cmtContent) {
        this.cmtContent = cmtContent;
    }

    public void setCmtLikes(int cmtLikes) {
        this.cmtLikes = cmtLikes;
    }

    public void setCmtReplies(int cmtReplies) {
        this.cmtReplies = cmtReplies;
    }
}
